import request from '../utils/request'

export function getToolCategoryPageList(params) {
    return request({
      url: '/toolCategory/list',
      method: 'get',
      params: {
        ...params
      }
    })
}
export function getToolCategoryById(id) {
    return request({
      url: '/toolCategory/getById/'+id,
      method: 'get',
    })
}
export function deleteToolCategoryById(id) {
    return request({
      url: '/toolCategory/delete/'+id,
      method: 'delete',
    })
}
export function saveToolCategory(data) {
    return request({
      url: '/toolCategory/save',
      method: 'post',
      data:data
    })
}



